import React from "react";
import ReactDOM from 'react-dom/client';
import App from './App';
import {HashRouter} from 'react-router-dom'
// 引入react-redux中 Provider组件 用于给整个应用注入store
import {Provider} from 'react-redux';
import store from './redux'
let root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
    <HashRouter>
        <Provider store={store}>
        <App/>
        </Provider>
    </HashRouter>
);